package flexUnitTests
{
	import com.gl.glcourses.model.LoginPanelModel;
	
	import flexunit.framework.Assert;
	import flexunit.framework.TestCase;

	public class LoginModelTest
	{		
		
		private var login:LoginPanelModel=new LoginPanelModel();
		
	
		[BeforeClass]
		public static function setUpBeforeClass():void
		{
		}
		
		[AfterClass]
		public static function tearDownAfterClass():void
		{
		}
		
		[Test]
		public function testCamposIncompletos():void
		{
			login.usuario="";
			login.contrasenia="";
			Assert.assertFalse(login.validar());
		}
		
		
	}
}